#include <deBitmap.hpp>
Inheritance diagram for IdeBitmap:


Public Member Functions | |
| virtual deBoolean | Reset ()=0 |
| virtual void | Cleanup ()=0 |
| virtual void * | GetData (u32 FaceNum=0)=0 |
| get the raw data contained in the bitmap | |
| virtual long | GetWidth ()=0 |
| get the width of this bitmap | |
| virtual long | GetHeight ()=0 |
| get the height of this bitmap | |
| virtual IdeDriver::BPP | GetFormat ()=0 |
| get the pixelformat of this bitmap | |
| virtual long | GetBitDepth ()=0 |
| get the bitdepth of this bitmap (multiple of 8 almost always) | |
| virtual long | GetByteDepth ()=0 |
| get the byte depth of this bitmap | |
| virtual DWORD | GetImageSize ()=0 |
| get the total amount of memory consumed by this bitmap | |
| virtual long | GetScalingFactor ()=0 |
| virtual long | GetNumFaces ()=0 |
| virtual deARGB | GetColorAt (long X, long Y)=0 |
| get the color of a certain pixel, given pixel coordinates (returns ARGB format) | |
| virtual void | GetFloatColorAt (long X, long Y, deColor &color)=0 |
| get the color of a certain pixel, given pixel coordinates (using deColor format) | |
| virtual deBoolean | IsRenderTarget ()=0 |
| get whether or not this bitmap is used as a render target | |
| virtual long | GetMipLevels ()=0 |
| retrieve the number of mip levels for this bitmap | |
| virtual deBoolean | SetData (void *data, long ByteLength, u32 FaceNum=0)=0 |
| virtual void | SetWidth (long width)=0 |
| virtual void | SetHeight (long height)=0 |
| virtual void | SetFormat (IdeDriver::BPP Format)=0 |
| virtual void | SetBitDepth (long depth)=0 |
| virtual void | SetImageSize (long size)=0 |
| virtual void | SetRenderTarget (deBoolean RenderTarget)=0 |
| virtual void | SetColorAt (long X, long Y, deARGB Color)=0 |
| virtual deBoolean | SetNumFaces (long NumFaces=1)=0 |
| virtual void | SetMipLevels (long MipLevels=-1)=0 |
| virtual deBoolean | CopyRect (const IdeBitmap *&Source, deRect *SourceRect, long TargetX, long TargetY)=0 |
| virtual deBoolean | SaveToFileSystem (IdeFileSystem *FS, const char *filename)=0 |
| virtual deBoolean | SaveToFile (IdeFile *file)=0 |
| virtual void * | GetDriverData (long ID)=0 |
| virtual deBoolean | SetDriverData (long ID, void *Data, IdeDriver *Driver)=0 |
| virtual deBoolean | ConvertGrayScaleToDot3 (long numsamples=7, deFloat amplify=0.0f)=0 |
| convert this grayscale bitmap into a 32-bit DOT3 bitmap | |
| virtual deBoolean | BindGrayScaleAsAlphaMap (IdeBitmap *AlphaMap)=0 |
| use another bitmap (same height & width) to fill in the alpha channel in this one | |
| virtual deBoolean | DownSampleMIP (void *&source, void *target, long SW, long SH, long SP, long TW, long TH, long TP, IdeDriver::BPP SFormat, IdeDriver::BPP TFormat)=0 |
Protected Member Functions | |
| virtual | ~IdeBitmap () |
|
|
|
|
|
use another bitmap (same height & width) to fill in the alpha channel in this one
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
||||||||||||
|
convert this grayscale bitmap into a 32-bit DOT3 bitmap
Implemented in deBitmap. |
|
||||||||||||||||||||
|
Blitting function. Blits a source bitmap into this bitmap, clamping the edges. Source bitmap must share the same pixel format as this target. Implemented in deBitmap. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Implemented in deBitmap. |
|
|
get the bitdepth of this bitmap (multiple of 8 almost always)
Implemented in deBitmap. |
|
|
get the byte depth of this bitmap
Implemented in deBitmap. |
|
||||||||||||
|
get the color of a certain pixel, given pixel coordinates (returns ARGB format)
Implemented in deBitmap. |
|
|
get the raw data contained in the bitmap
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
||||||||||||||||
|
get the color of a certain pixel, given pixel coordinates (using deColor format)
Implemented in deBitmap. |
|
|
get the pixelformat of this bitmap
Implemented in deBitmap. |
|
|
get the height of this bitmap
Implemented in deBitmap. |
|
|
get the total amount of memory consumed by this bitmap
Implemented in deBitmap. |
|
|
retrieve the number of mip levels for this bitmap
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
get the width of this bitmap
Implemented in deBitmap. |
|
|
get whether or not this bitmap is used as a render target
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
||||||||||||
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
||||||||||||||||
|
Implemented in deBitmap. |
|
||||||||||||||||
|
Implemented in deBitmap. |
|
||||||||||||||||
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
|
|
Implemented in deBitmap. |
1.3-rc3